projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff19bc
)
tests: wait for draw before fetching tree view style
author
Cosimo Cecchi
<cosimo@endlessm.com>
Tue, 19 May 2015 17:25:00 +0000
(10:25 -0700)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Sun, 24 May 2015 19:08:33 +0000
(12:08 -0700)
On some slower machines (e.g. an ARM OBS builder), this test is failing
with a race condition where we're trying to fetch the style before it's
applied.
https://bugzilla.gnome.org/show_bug.cgi?id=749593
testsuite/gtk/treeview.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/treeview.c
b/testsuite/gtk/treeview.c
index 758b52cc1a5c00800d03ac9d811eb7eb4ee8b542..0f301d855662d3ecba7da07e904007ac6bd6203a 100644
(file)
--- a/
testsuite/gtk/treeview.c
+++ b/
testsuite/gtk/treeview.c
@@
-211,6
+211,7
@@
test_row_separator_height (void)
gtk_container_add (GTK_CONTAINER (window), tree_view);
gtk_widget_show_all (window);
+ gtk_test_widget_wait_for_draw (window);
path = gtk_tree_path_new_from_indices (2, -1);
gtk_tree_view_get_background_area (GTK_TREE_VIEW (tree_view),